package com.yaoben.exam.service;

import com.yaoben.exam.pojo.User;

public interface UserService {
	public User getUserById(int id);//获取user的id
	public User getUserByLoginName(String loginName);//获取登陆名
	public int add(User user);//添加用户
	public int updateUserById(User user);//根据id更新用户信息
	public int addOrUpdateUser(User user);//添加或修改用户
	public int deleteUserById(Integer id);//删除
}
